clear all
set more off, permanently
about

* set stata version for consistency across platforms
version 14.1

* matsize 800 for Stata IC. higher than 800 for MP or SE
cap set matsize 800 
cap set matsize 1000
*set scheme s1mono
set scheme s1color
set seed 12345

********************************************************************************
* SET PATHS
********************************************************************************
cd $repodir

do $repodir/code/dbpath.do

adopath ++ "$repodir/code/ado"

exit

********************************************************************************
* INSTALL USER-WRITTEN PACKAGES ONE TIME IN ./CODE/ADO
********************************************************************************

net set ado "$repodir/code/ado"
net query

* UNIQUE
ssc install unique
which unique

* PPMLHDFE
cap ado uninstall ftools
cap ado uninstall reghdfe
cap ado uninstall egenmore

ssc install ftools
ssc install reghdfe
ssc install egenmore
ssc install estout, replace
ssc install coefplot, replace

clear all
ftools, compile
reghdfe, compile

which ftools
which reghdfe

net set ado PLUS
net query
